<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div id="goodsGallery">
	<table>
		<tbody>
		<s:iterator value="stockList" status="st">
			<s:if test="#st.index%4==0">
				<tr>
			</s:if>
						<td>
							<div class="good_pic">
								<a target="_blank" href="<s:property value="goodSet.good.image"/>" style=" width:150px;height:150px;"> <img src="<s:property value="goodSet.good.image"/>" alt="<s:property value="goodSet.good.name"/>"> </a>
							</div>
							<div class="good_info">
								<div class="good_name">
									<s:property value="goodSet.good.name"/>
								</div>
								<div class="good_price">
									<span>￥<s:property value="goodSet.good.price"/></span>
									计划产量：<span><s:property value="goodSet.count"/></span>
								</div>
								<div>
									上架日期：<span><s:property value="listDate"/></span>
								</div>
								<div class="good_operation" onclick="editGood(<s:property value="stockId"/>)">
									<a>编辑该产品</a>
								</div>
							</div>
						</td>
			<s:if test="#st.index%4==3">
				</tr>
			</s:if>
		</s:iterator>
		</tbody>
	</table>
</div>